// 统一请求路径前缀在libs/axios.js中修改
import {
    getRequest,
    postRequest,
    postBodyRequest,
    getNoAuthRequest,
    exportPost,
    postEncryptRequest
} from '@/libs/axios';


//operationLog
export const operationLogAPI = (param) => postRequest('/dataReport/history',param);

//生源信息上报
export const synchronizationAPI = () => postRequest('/dataReport/synchronization');

export const positionReportAPI = () => postRequest('/positionReport/reportPositionTest');

export const positionReportDelAPI = () => postRequest('/positionReport/reportPositionTestDel');

//生源信息下载
export const getsyErrorDataAPI = (param) => exportPost('/dataReport/getErrorData',param);
//去向登记信息上报
export const synchronizationDirectionAPI = (param) => postRequest('/dataReport/synchronizationDirection',param);
export const synchronizationArchiveAPI = (param) => postRequest('/archiveReport/report',param);

export const synchronizationAccountAPI = (param) => postRequest('/accountReport/report',param);
//去向登记信息下载
export const getErrorDirectionDataAPI = (param) => exportPost('/dataReport/getErrorDirectionData',param);

// 毕业去向信息备份
export const graduationDestinationInformationBackupAPI = () => exportPost('/bysJyqxInfo/export');

// 上报当前数据库职位
export const reportRealDataApi = () => getRequest('/positionReport/jump/report');

export const testOneApi = () => getRequest('/positionReport/reportRealDataOne');

// 获取职位上报历史
export const reportHistoryApi = (param) => postEncryptRequest('/positionReport/history',param);